package com.lzp.aop.service.impl;

import com.lzp.aop.service.ExtendTestService;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/**
 * @author : lzp
 * @version 1.0
 * @date : 2022/8/30 11:28
 * @apiNote : TODO
 */
@Component
@Service("ThreeExtendTestServiceImpl")
public class ThreeExtendTestServiceImpl implements ExtendTestService {
    @Override
    public String testMethod(String string) {
        return "这是三号无aop testMethod:"+string;
    }

    @Override
    public String testMethodThrow2(String num) {
        throw new RuntimeException("这是三号无aop testMethodThrow2");
    }
}
